added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2008 / CSCustomIEContextMenu / NativeMethods / ICustomDoc.cs
blob3b163efbc9aef39da960db562e90652e41f7dbab
1 /****************************** Module Header ******************************\
2 * Module Name: ICustomDoc.cs
3 * Project: CSCustomIEContextMenu
4 * Copyright (c) Microsoft Corporation.
5 *
6 * The interface ICustomDoc enables a host to set the MSHTML IDocHostUIHandler
7 * interface.
8 *
9 *
10 * This source is subject to the Microsoft Public License.
11 * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
12 * All other rights reserved.
14 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
15 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
16 * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
17 \***************************************************************************/
19 using System.Runtime.InteropServices;
21 namespace CSCustomIEContextMenu.NativeMethods
23 [ComImport()]
24 [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
25 [GuidAttribute("3050f3f0-98b5-11cf-bb82-00aa00bdce0b")]
26 public interface ICustomDoc
28 [PreserveSig]
29 void SetUIHandler(IDocHostUIHandler pUIHandler);